from django.db import models

# Create your models here.

class Bug(models.Model):
    bugNo = models.CharField(primary_key=True,unique=True,max_length=128)
    priority = models.IntegerField()
    score = models.IntegerField(default=0)
    title = models.CharField(max_length=512)
    label = models.CharField(max_length=128)
    label1 = models.CharField(max_length=128)
    label2 = models.CharField(max_length=128)
    person = models.CharField(max_length=128)
    sprint = models.CharField(max_length=256)
    version = models.CharField(max_length=128)


    class Meta:
        db_table = 'iOSBugList'